<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>重庆邮电大学移通学院宿舍管理系统—登录</title>
<link
	href="${pageContext.request.contextPath}/bootstrap/2.1.1/css/bootstrap.min.css"
	type="text/css" rel="stylesheet" />
<link href="${pageContext.request.contextPath}/css/layout.css"
	type="text/css" rel="stylesheet" />
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/validate.js"></script>
</head>
<body>
	<div id="container">
		<div id="header">
			<img alt="" src="${pageContext.request.contextPath}/img/logo.jpg">
		</div>
		<div id="menu"></div>
		<div id="mainContent">
			<div id="sidebar">
				<img alt="" src="${pageContext.request.contextPath}/img/2.jpg">
			</div>
			<div id="content">
				<form id="loginForm" name='loginForm'
					action="${pageContext.request.contextPath}/login" method="post"
					class="form-horizontal" onsubmit="return checkData();">
					<fieldset>
						<legend>
							<small>用户登录</small>
						</legend>
						<!-- 用于显示提示信息的层 -->
						<div id="msgs"></div>
						<s:actionerror cssClass="alert alert-error" />
						<div class="control-group" id="loginId">

							<%-- <input type="text" id="loginName" value="${param.loginName}"
								style="color: #999; display: none;" />   --%>
							<input type="text" name="user" value="" id="user"
								class="input_kuang item errortip" placeholder="用户名"
								isRequired="true" autocomplete="off"  />
						</div>
						<div class="control-group">

							<%--  <input type="password" id="pwd_ph" value="密码"
								class="input_kuang item errortip"
								style="color: #999; display: none;" />--%>
							<input type="password" name="user.password"
								class="input_kuang item errortip" id="pwd" placeholder="密码"
								isRequired="true" autocomplete="off" />
							</div>

						<div class="control-group">

							<input id="submit_btn" class="btn btn-primary" type="submit"
								value="登录" /> <input type="reset" value="重置" id="reset_btn"
								class="btn">

						</div>
					</fieldset>
				</form>
			</div>
		</div>
		<div id="bottom">
			<fieldset>
				<legend>
					<small>登录说明：</small>
				</legend>
				<p>登录用户名为员工工号，密码为身份证后六位，末位为X的默认为小写x。</p>
				<br>
				<p>咨询电话：023-42872110</p>
			</fieldset>
		</div>
		<div id="footer">
			<p>Copyright © 重庆邮电大学移通学院 2012, All Rights Reserved</p>
			<p>推荐使用IE7.0以上浏览器，1024*768分辨率访问本网站</p>
		</div>
	</div>
	<script type="text/javascript"
		src="${pageContext.request.contextPath}/jQuery/log.js"></script>
</body>
</html>